From: Florian Müllner Date: Wed, 18 May 2016 09:39:07 +0000 (+0200) Subject: location: Update for PermissionStore DBus API changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~853 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=437256e0f117cb2a6382c0a435191f4ae4f3090b;p=gnome-shell.git location: Update for PermissionStore DBus API changes As xdg-app has been renamed to Flatpak, the permission store's bus name and interface name have been changes as well. https://bugzilla.gnome.org/show_bug.cgi?id=766598 --- diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 0070132ab..b1e97c74c 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -62,8 +62,8 @@ var AgentIface = ' \ \ '; -var XdgAppIface = ' \ - \ +var PermissionStoreIface = ' \ + \ \ \ \ @@ -80,7 +80,7 @@ var XdgAppIface = ' \ \ '; -const PermissionStore = Gio.DBusProxy.makeProxyWrapper(XdgAppIface); +const PermissionStore = Gio.DBusProxy.makeProxyWrapper(PermissionStoreIface); const Indicator = new Lang.Class({ Name: 'LocationIndicator', @@ -254,8 +254,8 @@ const Indicator = new Lang.Class({ _connectToPermissionStore: function() { this._permStoreProxy = null; new PermissionStore(Gio.DBus.session, - 'org.freedesktop.XdgApp', - '/org/freedesktop/XdgApp/PermissionStore', + 'org.freedesktop.impl.portal.PermissionStore', + '/org/freedesktop/impl/portal/PermissionStore', Lang.bind(this, this._onPermStoreProxyReady)); },